import BaseComponent from "../../../common/components/common/BaseComponent";
import React from "react";
import { DragSource } from "react-dnd";

const spec = {
  beginDrag(props:any) {
    return {}
  }
};

@DragSource('type', spec, (connect, monitor) => ({
	connectDragSource: connect.dragSource(),
	connectDragPreview: connect.dragPreview(),
	isDragging: monitor.isDragging(),
}))
class Source extends BaseComponent{
  public render(){
    return (
      <div style={{ background: "black" }}>source
      </div>
    )
  }
}

export default Source